package org.cangku.dao;

import org.cangku.entity.Permission;
import org.cangku.pojo.permissionBean;

import java.util.List;

public interface PermissionDao {
    /*先查询跟节点 0*/
    public List<permissionBean> query(int parentid);

    /*根据根节点获取的id查询子节点*/
    public List<permissionBean> queryByParentid(int parentid);

    public List<Permission> queryByPermissionid(List<Long> ids);
}
